'Oauth2 and PKCE redirect url for mobile apps
I am creating a mobile app and use Spring boot, Keycloak and Fluter for that.
And I am struggeling to figure out what/ how should I set the redirect url when I choose public access type and open id in Keycloak.
For a web app I understand that because I give the server url but how about a mobile application?
Solution 1:[1]
Use URL which your app can claim on the device. Random post about this topic: https://www.oauth.com/oauth2-servers/redirect-uris/redirect-uris-native-apps/
Solution 2:[2]
You need to extract the month from date and extract the date from string first , example:
month: {$month: { $dateFromString:{ dateString:"$project.date" , timezone:'America/New_York' }} }
or extract the month like number ( 01..12) from the string:
month: { $substr: ["$project.date", 5, 7] }
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jan Garaj |
| Solution 2 | R2D2 |
