singpass / Android-Singpass-in-app-browser-login-demo

This repository demonstrates and details the implementation using Chrome Custom Tabs or external web browsers to initiate a Singpass login using Oauth PKCE flow
3 stars 2 forks source link

The app.properties file is not available. #8

Open TerenceLee822 opened 7 months ago

TerenceLee822 commented 7 months ago

The app.properties file that consist of backendBaseUrl, generatePkceParamsPath and receiveAuthCodeParams is not available after I pull the branch.

Screenshot 2024-01-24 at 10 26 18 AM
kenneth-leong-gt commented 7 months ago

Hi, yes its intentional, as this is only a demo. please use your own backend api urls. Below is a sample of how the app.properties file should look like

baseUrl=https://yourApi.url.com/
generatePkceParamsPath=rpSampleGeneratePkceCode
receiveAuthCodeParams=rpSampleReceiveAuthCode
kaarthicksiyer commented 7 months ago

@kenneth-leong-gt

baseUrl=https://yourApi.url.com/
generatePkceParamsPath=rpSampleGeneratePkceCode
receiveAuthCodeParams=rpSampleReceiveAuthCode

what should the rpSampleGeneratePkceCode and rpSampleReceiveAuthCode look like and in order for us to get this value should our backend be updated as well?

I am sorry to say but the README file is too vague and hard to comprehend.