简体   繁体   中英

How can I redirect from an URL to a Codename One app?

I'm trying to make an app with Codename One, where you have to login with OAuth 2 from a specific webservice. After the login on the webpage, it should redirect to my app. But I don't know, where in Codename One I have to set the redirect URL. Are there some build hints I could use? I tried it with the Login class and there I set the redirect URI, but it's not working.

When you register your application with an Oauth provider you will need to specify the redirection url . The oauth server will redirect once authentication is successfull.

Have a look at https://www.oauth.com/oauth2-servers/redirect-uris/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM