Is a good Oauth2 flow in mobile app ?
Client Credentials When User Access Public Data From My Server With My Mobile App:
Step 1 : Client Send client_id & client_secret ( I include a client_id & client_secret in the app code/package ) To Server , APP Id & App Device ID.
Step 2 : Server Response Access Token & Expired Long Time.
Step 3 : If Access Token Expired Client Request Again Access Token Like Step 1.
Step 4 : If Client Request Data Server Will Check Access Token , APP Id & App Device ID.