prompt in expo auth session

hi, i have an expo that is able to gt the token and i am able to call apis. i wanted to prompt user to switch accounts which appears to be not working…documentation was not very clear on what to pass on the prompt object so i am asking here. here is my code:
const [request, response, promptAsync] = useAuthRequest(

{

clientId: 'myappid',

scopes: ['openid', 'profile', 'email',"api://fsfdsfds/callapi"],

responseType: ResponseType.Token,

// For usage in managed apps using the proxy

redirectUri: Linking.makeUrl('auth'),

**prompt:{Login:'login_required', SelectAccount:'account_selection_required'}**

},

discovery

)

prompt:‘select_account’ did the trick as per openid specification. thanks anyways.

Amazing website hope to see more content

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.