Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorization jwt #7

Open
Septianpradana opened this issue Mar 18, 2020 · 5 comments
Open

Authorization jwt #7

Septianpradana opened this issue Mar 18, 2020 · 5 comments

Comments

@Septianpradana
Copy link

Septianpradana commented Mar 18, 2020

kak cara untuk Authorization jwt-nya gimana ya kak
https://i.ibb.co/7WqN0TQ/postman2.png
https://i.ibb.co/fqwvn10/postman.png

@rakaadinugroho
Copy link
Owner

Kamu login dulu, untuk mendapatkan AccessToken

@Septianpradana
Copy link
Author

loginya seperti ini kak? ko selalu invalidnya
https://i.ibb.co/fv8XQdB/postman3.png

@rakanugroho
Copy link

kamu meletakan parameternya tidak didalam body. kamu pelajari ini dahulu https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods

@Septianpradana
Copy link
Author

Septianpradana commented Mar 20, 2020

aku udah coba buat parameternya di body hasilnya sama kak
https://i.ibb.co/vJncBYk/postman5.png

@Septianpradana
Copy link
Author

Septianpradana commented Mar 23, 2020

kak aku udah coba dan bisa mendapat tokennya, aku mau nanya untuk link base_url di mobilenya gimana? udah aku ganti sama dengan di postman tapi pas mau login mobile http error 404 not found.

03/31 00:49:10: Launching app
No apk changes detected since last installation, skipping installation of C:\Users\septi\Downloads\Elearning-Mobile-master\Elearning-Mobile-master\app\build\outputs\apk\app-debug.apk
$ adb shell am force-stop com.rakaadinugroho.msuryanusatara
$ adb shell am start -n "com.rakaadinugroho.msuryanusatara/com.rakaadinugroho.msuryanusatara.core.authentication.AuthActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Client not ready yet..Waiting for process to come online
Connected to process 4556 on device motorola-aosp_on_shama-127.0.0.1:62001
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
D/Atlas: Validating map...
I/OpenGLRenderer: Initialized EGL, version 1.4
D/: HostConnection::get() New Host Connection established 0xb3f810c0, tid 4579
D/OpenGLRenderer: Enabling debug mode 0
V/RenderScript: 0xaec69800 Launching thread(s), CPUs 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants