How to reset password in Cisco spark using API? - cisco

I want to reset the password for my cisco spark application using API. Using the REST API I am only able to get user, post user, delete and update user.

In short you can't.
Spark API docs: https://developer.ciscospark.com/resource-people.html
How to change your password (manually):
https://support.ciscospark.com/customer/en/portal/articles/1834768-change-your-cisco-spark-app-password?b_id=8722

Related

LDAP to gitlab user sync for oauth token

I am working with gitlab rest API, and gitlab is connected to LDAP too.
Now I am facing an issue is that if I add a user to LDAP store, this user need to do at least one sign in via web UI to get access token through API (/oauth/token)
My requirement is any users whose are added directly to LDAP need to generate access token through gitlab API without doing any sign in via web UI, please let me know the possible solution.
Thank you
Good morning Jamsheer,
That makes sense, since otherwise you would automatically create accounts for all the users in your LDAP, with the possibility of running out of licenses.
Currently there is an open issue where this is being discussed, with the possibility of creating all the LDAP users as deactivated and active them after the first login.
Add a way for LDAP users to be created before first login
In any case, this is not in place yet.

Forget password functionality for not login user using azure graph API

I need to add an option for a user which is "forget password"
here the user can change their password (no login)
there is any way to do this using azure graph API using HTTP request
if any then what configuration I required and validate user?
currently, we do not have this feature
as per reference from enter link description here
enter link description here

Disable password reset on login when changing password through Gitlab API

I've configured Gitlab CE 10.6 with OmniAuth and a CAS server that authenticates against two Active Directories and a users db. The login process is working fine to make the automatic signup, etc... now, i've been asked to synchronize the password from my CAS server with the gitlab password to avoid this extra step for the user, I am updating the user password each time the user uses the CAS authentication, i am doing this using a rest client on the CAS server consuming Gitlab Rest Api, the problem is each time i change the password it asks the user to setup a new password, Is there any way i can disable this feature in the configuration?
Thank you in advance!
I solved it removing this line from users.rb v4 API
user_params[:password_expires_at] = Time.now if user_params[:password].present?

How to manage user profile authentication in getstream.io?

I am a new developer of https://getstream.io/. I am using NodeJS version. I am able to run the example Example, shows feed, activity, notification and profile. Now, I am trying to manage user profile authentication and trying to add a login and registration page with that project but I am unable to do that. Any help is appreciated.
You need to build a back-end application to manage the connection between your front-end and the Stream API.
Then, after creating a user, just get the user's token (using the createUserToken function.
When you create a user, you can pass the password information in the data object and when you create an endpoint for authentication (ie: retrieving the user's token) don't forget to remove this information from the response.
Hope it helps =)

Authenticate user without using angularfire

I am working on an application in which i need to authenticate user. I am using firebase for database. I have used node.js for getting data from firebase. Now all i want is to create login page and in that i need to authenticate user by their email address and password. And i want to use the same method how i am fetching the data that is using node and i don't want to use angularfire for the authentication. Is it possible to perform? If it is can you please share how can i accomplish that?
Authenticating from a server-side process with the Firebase 3.x SDK requires the use of a service account. From the documentation:
When you authenticate a server, rather than sign in with a user account's credentials as you would in a client app, you authenticate with a service account which identifies your server to Firebase.
If you want to custom handle the authentication of your users, you'd create a custom token for your users on the server and then have them pass that to Firebase.
In general I'd recommend reading this article about common application architectures when using the Firebase Database.

Resources